package numbers;

import org.junit.Test;

public class A1X02_NumberGeneratorExtraTest {

	@Test(expected = RuntimeException.class)
	public void realExpertsCanReallyRespectSuperstition() throws Exception {
		INumberGenerator generator = new SuperstitionRespectingNumberGenerator();
		generator.setNextNumber(13);
	}
	/*
	 * If you want and we have time, you can present some code in the exercise
	 * to explain the Exception related language constructs to define the flow
	 * of control in methods.
	 */

}
